TreeGridLoaded ({ /* JSONP header, to be possible to load from xxx_Jsonp data source */ 
   "Cfg" : { "id": "CalcOrderTree", "MainCol": "Node", "Sorting": "0", "Dragging": "0", "Adding": "0", "NoVScroll": "1", "NoHScroll": "1"   }, 
   "Cols" : [ 
      { "Name": "Node", "Type": "Text"   }, 
      { "Name": "Active", "Type": "Bool"   }, 
      { "Name": "Cost", "Type": "Float"   }, 
      { "Name": "Total", "Type": "Float"   }, 
      { "Name": "Quantity", "Type": "Int"   }, 
      { "Name": "Tmp", "Type": "Float"   }, 
      { "Name": "PerParent", "Type": "Int", "Format": "0%"   }, 
      { "Name": "PerTotal", "Type": "Int", "Format": "0%"   }  
   ], 
   "Header" : { 
      "Active": " Active", "Cost": " Local\u000A\u00A0cost", "Total": " Total\u000A\u00A0cost", 
      "Quantity": " Total\u000A\u00A0quantity", "Tmp": " Tmp cost\u000A\u00A0(hidden)", 
      "PerParent": " Percent of\u000A\u00A0parent cost", "PerTotal": " Percent of\u000A\u00A0total cost"   }, 
   "Def" : [ 
      { "Name": "R", "Calculated": "1", "Recalc": "256", "CanExpand": "0", 
         "TotalFormula": "Cost+sum(\"Tmp\")", 
         "TmpFormula": "Active*Total*Quantity", 
         "CalcOrder": "*,Total,Tmp", 
         "CalcOrder1": "PerParent,PerTotal,*1", 
         "PerParentFormula": "Tmp/Parent.Total", 
         "PerTotalFormula": "PerParent*Parent.PerTotal"  
          }, 
      { "Name": "FirstLevel", 
         "PerParentFormula": "Root.Total?Tmp/Root.Total:0", "PerTotalFormula": "PerParent"  
          }  
   ], 
   "Body" : [ 
      [ 
         { "Def": "FirstLevel", "Node": "1", "Active": "1", "Cost": "125", "Quantity": "4", "Items": [
	         { "Node": "1-1", "Active": "1", "Cost": "25", "Quantity": "3"   }, 
	         { "Node": "1-2", "Active": "1", "Cost": "4", "Quantity": "4", "Items": [
	            { "Node": "1-2-1", "Active": "0", "Cost": "20", "Quantity": "8"   }, 
	            { "Node": "1-2-2", "Active": "1", "Cost": "5", "Quantity": "2"   }  
	         ]}, 
	         { "Node": "1-3", "Active": "0", "Cost": "122", "Quantity": "12"   }  
         ]}, 
         { "Def": "FirstLevel", "Node": "2", "Active": "1", "Cost": "21", "Quantity": "3", "Items": [
	         { "Node": "2-1", "Active": "1", "Cost": "28", "Quantity": "4"   }  
         ]}, 
      ], 
   ], 
   "Foot" : [ 
      { "id": "Root", "CalcOrder": "*,Total,Tmp,*1", 
         "Node": "Root", "CanEdit": "0", "ActiveType": "Text", "CostType": "Text", "QuantityType": "Text", "TmpFormula": "\"\"", "TmpType": "Text", 
         "TotalFormula": "sum(\"Tmp\")", "PerParentVisible": "0", "PerTotal": "1"   }  
   ], 
}) /* End of JSONP header */ 